<script>
    // 创建狗对象
var hero = {
    name: '萧炎',
    skill: '焚决',
    action:function(){
        console.log(this.name + '送你一颗佛怒火莲');
        
    }
}
hero.action();
</script>